package com.beans;

public class SubCategory {
		
		String subCategoryCode;
		String subCategoryName;
		String subCategorDesc;
		String validity;
		
		@Override
		public String toString() {
			return "SubCategory [subCategoryCode=" + subCategoryCode + ", subCategoryName=" + subCategoryName
					+ ", subCategorDesc=" + subCategorDesc + ", validity=" + validity + "]";
		}
		public String getSubCategoryCode() {
			return subCategoryCode;
		}
		public void setSubCategoryCode(String subCategoryCode) {
			this.subCategoryCode = subCategoryCode;
		}
		public String getSubCategoryName() {
			return subCategoryName;
		}
		public void setSubCategoryName(String subCategoryName) {
			this.subCategoryName = subCategoryName;
		}
		public String getSubCategorDesc() {
			return subCategorDesc;
		}
		public void setSubCategorDesc(String subCategorDesc) {
			this.subCategorDesc = subCategorDesc;
		}
		public String getValidity() {
			return validity;
		}
		public void setValidity(String validity) {
			this.validity = validity;
		}
		public SubCategory(String subCategoryCode, String subCategoryName, String subCategorDesc, String validity) {
			super();
			this.subCategoryCode = subCategoryCode;
			this.subCategoryName = subCategoryName;
			this.subCategorDesc = subCategorDesc;
			this.validity = validity;
			//System.out.println(toString());
		}
		public SubCategory() {
			// TODO Auto-generated constructor stub
		}
	
}
